package root_dir.bean.UTIL;

import java.util.Vector;

public class Gmcc_Exception extends Exception implements Gmcc_Error_Dealer
{
  private String Return_Page = null;
  private Vector Relate_Pages = null;

  public Gmcc_Exception(String Error_Msg)
  {
    super(Error_Msg);
  }
  public String Get_Return_Page()
  {
    if(Return_Page == null)
    {
      return "";
    }

    return Return_Page;
    /**@todo Implement this root_dir.bean.UTIL.Gmcc_Error_Dealer method*/
    //throw new java.lang.UnsupportedOperationException("Method Get_Return_Page() not yet implemented.");
  }
  public boolean Set_Return_Page(String A_Return_Page)
  {
    Return_Page = A_Return_Page;
    return true;
    /**@todo Implement this root_dir.bean.UTIL.Gmcc_Error_Dealer method*/
    //throw new java.lang.UnsupportedOperationException("Method Set_Return_Page() not yet implemented.");
  }
  public Vector Get_Related_Pages()
  {
    return Relate_Pages;
    /**@todo Implement this root_dir.bean.UTIL.Gmcc_Error_Dealer method*/
    //throw new java.lang.UnsupportedOperationException("Method Get_Related_Page() not yet implemented.");
  }
  public boolean Add_Related_Page(String A_Relate_Page)
  {
    if(Relate_Pages == null)
    {
      Relate_Pages = new Vector();
    }
    Relate_Pages.add(A_Relate_Page);

    return true;
    /**@todo Implement this root_dir.bean.UTIL.Gmcc_Error_Dealer method*/
    //throw new java.lang.UnsupportedOperationException("Method Set_Related_Page() not yet implemented.");
  }



}